import http from "@/utils/request";

export default{
    /**
     * 查询列表
     * @param  params 
     * @returns 
     */
    async getXcwxList(params){
        return await http.get("/api/xcwxjyjl/list",params);
    },
    /**
    * 添加
    * @returns
    */
    async addXcwx(params){
        // console.log(1);
        return await http.post("/api/xcwxjyjl/add",params)
    },
    /**
    * 修改
    * @returns
    */
    async updateXcwx(params){
        // console.log(29999999);
        return await http.put("/api/xcwxjyjl/update",params)
    },

    //删除
    async delete(params) {
        return await http.delete('api/xcwxjyjl/delete', params);
        
    },
    //批量删除
    async Bdelete(params) {
        return await http.post('/api/xcwxjyjl/batchDelete', params);
           
    }
}